package cn.hutool.core.lang.apiAssert;


/**
 * @author 用于获取内部类获取需要的对象
 */
public class Holder<T> {

    private T data;

    public static <T> Holder<T> holder() {
        return new Holder<T>();
    }


	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
